#include <bits/stdc++.h>
using namespace std;

#include <bits/extc++.h>
using namespace __gnu_pbds;

using Real = long double;
using llt = long long;
using vi  =vector<int>;
using pii = pair<int, int>;

string S;

void proc(){
    int p1 = S.find("xiao", 0);
    int p2 = S.find("hong", 0);
    if(p1 < p2){
        cout << S.substr(0, p1);
        cout << S.substr(p1 + 4, p2 - p1 - 4);
        cout << S.substr(p2 + 4);
        cout << "xiaohong\n";
    }else{
        cout << S.substr(0, p2);
        cout << S.substr(p2 + 4, p1 - p2 - 4);
        cout << S.substr(p1 + 4);
        cout << "xiaohong\n";
    }
}

int main(){
#ifndef ONLINE_JUDGE
    freopen("z.txt", "r", stdin);
#endif
    ios::sync_with_stdio(false);cin.tie(nullptr);cout.tie(0);
    int nofkase = 1;
    // cin >> nofkase;
    while(nofkase--){
        cin >> S;
        proc();
    }
    return 0;
}